import psutil
from IPy import IP
p = psutil.pids()
print(p.__len__())
ip = IP('192.168.1.0/24')
print(ip.__len__())
for p in ip:
    print(p)